package com.daiyang.config;

import com.daiyang.model.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DogConfig {
    @Bean
    public Dog dog() {
        return new Dog("旺财", 1);
    }
}
